Skip to content

Log full message lines without snip truncation#122

Merged
hideack merged 1 commit into
masterfrom
feature/log-full-message-without-snip
Apr 9, 2026
Merged

Log full message lines without snip truncation#122
hideack merged 1 commit into
masterfrom
feature/log-full-message-without-snip

Conversation

@hideack
Copy link
Copy Markdown
Owner

@hideack hideack commented Apr 9, 2026

Summary

  • コンソール表示では引き続き8行超のメッセージをsnip(5行+--- snip ---
  • ファイルログ(--log)およびSQLiteログ(--log-sqlite)には全行を記録するよう修正

変更内容

  • snip処理の前に fullLines として全行を保持
  • data オブジェクトに fullLines フィールドを追加
  • core.display のログ記録ループをコンソール表示ループから分離し、data.fullLines を使用

Test plan

  • 8行を超える長いメッセージを受信し、コンソールがsnipされることを確認
  • 同メッセージがログファイル/SQLiteに全行記録されていることを確認

🤖 Generated with Claude Code

Console display continues to snip messages longer than 8 lines,
but file and SQLite logs now record all lines by preserving fullLines
before the snip and using it in the logging loop.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hideack hideack merged commit eceafcb into master Apr 9, 2026
2 checks passed
@hideack hideack deleted the feature/log-full-message-without-snip branch April 9, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant